package com.ewili.x.special.service.data.impl;

import com.ewili.x.special.dao.inter.StockDao;
import com.ewili.x.special.service.data.inter.GoodWillService;
import com.ewili.x.special.task.thread.inter.GoodWillThreadTask;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author wonder
 */
@Service
public class GoodWillServiceImpl implements GoodWillService {

    @Autowired
    private StockDao stockDao;

    @Autowired
    private GoodWillThreadTask goodWillThreadTask;

    @Override
    public void spideGoodWill() {
        goodWillThreadTask.spide();
    }
}
